<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/header.jsp" %>
<c:set var="count" value="0"/>	
<table border="0" style="width:100%; height:100%" align="center">
	
	<c:forEach items="${recetas}" var="receta" varStatus="imagenStatus">
		
		<c:if test="${count eq 0}">
			<tr>
		</c:if>
			<td>
				<table border="1" >
					<tr>
						<td height="60%" valign="top" align="center">
							<img src="<c:url value="/mostrarImagenReceta.htm?index=${imagenStatus.count}"/>" width=173 height=142/>
						</td>
					</tr>
					<tr bgcolor="#FFFF99">
						<td><c:out value="${receta.nombre}"/></td>
					</tr>
					<tr>
						<td><c:out value="${receta.descripcion}"/></td>
					</tr>
					<tr bgcolor="#FFFF99">
						<td>$ <c:out value="${receta.precio}"/></td>
					</tr>															
				</table>	
			</td>
			<c:set var="count" value="${count + 1}"/>	
		
		<c:if test="${count eq 3}">
			</tr>	
			<c:set var="count" value="0"/>
		</c:if>	
	
	</c:forEach>													
													
</table>	
			
<%@ include file="/common/footer.jsp" %>